﻿using System.Threading.Tasks;
using OS.Common.Core;
using OS.Common.Utils;
using Sample.Test.WebApi.Model;

namespace Sample.Test.WebApi.DAL
{
    public class PCSpiderService
    {
        private readonly IPcSpiderRepository _repository = IocContainer<IPcSpiderRepository>.Instance;

        public async Task<PageListResult<pc_spider>> GetList(int status)
        {
            return await _repository.GetList(status);
        }
    }
}